package cn.stylefeng.guns.modular.comm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 洲和国家分类
 * </p>
 *
 * @author 
 * @since 2019-11-25
 */
@TableName("comm_country")
public class Country implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 洲分类
     */
    @TableField("continent")
    private String continent;

    /**
     * 国家分类
     */
    @TableField("country")
    private Integer country;

    /**
     * 国家名字
     */
    @TableField("name")
    private String name;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContinent() {
        return continent;
    }

    public void setContinent(String continent) {
        this.continent = continent;
    }

    public Integer getCountry() {
        return country;
    }

    public void setCountry(Integer country) {
        this.country = country;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Country{" +
        "id=" + id +
        ", continent=" + continent +
        ", country=" + country +
        ", name=" + name +
        "}";
    }
}
